﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CandooMwrf
{
    public partial class frmLogin : Form
    {
        public bool IsLogin { get; set; }
        public frmLogin()
        {
            InitializeComponent();
        }

        private void btnLogin_Click(object sender, EventArgs e)
        {
            if(this.txtPwd.Text == "sheng19900221")
            {
                IsLogin = true;
                this.Hide();
            }
            else
            {
                MessageBox.Show("密钥错误！");
            }
        }
    }
}
